package com.liangtian.mdm.material.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.liangtian.mdm.material.model.WlLb;
import com.liangtian.mdm.material.model.WlLbUpdate;

public interface WlLbUpdateService {

    @SuppressWarnings("rawtypes")
    public PageInfo wlLbUpdateBgPageLst(Map<String, Object> map);

    public WlLbUpdate getWlLbUpdateById(WlLbUpdate update);

    public void updateWlLbUpdate(WlLbUpdate update);

    public int EditByCheckCodeAndModel(WlLbUpdate update);

    public int deleteWlLbUpdateByIdS(Map<String, Object> map);

    @SuppressWarnings("rawtypes")
    public PageInfo getWllbUpdateListByCondUpdate(Map<String, Object> map);

    @SuppressWarnings("rawtypes")
    public PageInfo wlLbUpdatePageLst(Map<String, Object> map);

    /**
     * 根据条件查询物料类别变更表数据
     *
     * @param update
     * @return
     * @author jyh
     * @date 2017-04-06
     */
    public List<WlLbUpdate> getWllbUpdateListByCond(Map<String, Object> cond);

    /**
     * 根据物料类别变更表数据更新物料类别表数据
     *
     * @param cond
     * @return
     * @author jyh
     * @date 2017-04-06
     */
    public int updateWllbByUpdate(Map<String, Object> cond);

    /**
     * 根据条件修改物料变更表数据
     *
     * @param cond
     * @return
     * @author jyh
     * @date 2017-04-06
     */
    public int updateWllbStateByCond(Map<String, Object> cond);

    public int checkNameUpdate(WlLbUpdate update);

    public void insertWlLbUpdate(WlLbUpdate update);
}
